package com.easilyj.controller.user;

import com.easilyj.constant.RoleConstant;
import org.apache.shiro.authz.annotation.RequiresRoles;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class UserOrderController {

    @GetMapping("/user/order")
    @RequiresRoles(RoleConstant.ROLE_USER)
    public String order() {
        return "user/user-order";
    }
}
